package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 种植区信息对象 olive_plant_area
 * 
 * @author ruoyi
 * @date 2024-10-30
 */
public class OlivePlantArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 种植区id */
    @Excel(name = "种植区id")
    private Long plantAreaId;

    /** 种植区名称 */
    @Excel(name = "种植区名称")
    private String plantAreaName;

    /** 所在区划编码 */
    @Excel(name = "所在区划编码")
    private Long regionId;

    /** 种植区周长 */
    @Excel(name = "种植区周长")
    private BigDecimal perimeter;

    /** 种植区面积 */
    @Excel(name = "种植区面积")
    private BigDecimal area;

    /** 种植区种类 */
    @Excel(name = "种植区种类")
    private Long cateId;

    /** 种植区中心坐标 */
    @Excel(name = "种植区中心坐标")
    private String centeriod;

    /** 种植区边界信息 */
    @Excel(name = "种植区边界信息")
    private String boundary;

    /** 边界颜色 */
    @Excel(name = "边界颜色")
    private String color;

    /** 种植区开辟日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "种植区开辟日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date developDate;

    /** 地理数据存放地址 */
    @Excel(name = "地理数据存放地址")
    private String dataUrl;

    /** 影像存放地址 */
    @Excel(name = "影像存放地址")
    private String imageUrl;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String standby1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String standby2;

    public void setPlantAreaId(Long plantAreaId) 
    {
        this.plantAreaId = plantAreaId;
    }

    public Long getPlantAreaId() 
    {
        return plantAreaId;
    }
    public void setPlantAreaName(String plantAreaName) 
    {
        this.plantAreaName = plantAreaName;
    }

    public String getPlantAreaName() 
    {
        return plantAreaName;
    }
    public void setRegionId(Long regionId) 
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }
    public void setPerimeter(BigDecimal perimeter) 
    {
        this.perimeter = perimeter;
    }

    public BigDecimal getPerimeter() 
    {
        return perimeter;
    }
    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }
    public void setCateId(Long cateId) 
    {
        this.cateId = cateId;
    }

    public Long getCateId() 
    {
        return cateId;
    }
    public void setCenteriod(String centeriod) 
    {
        this.centeriod = centeriod;
    }

    public String getCenteriod() 
    {
        return centeriod;
    }
    public void setBoundary(String boundary) 
    {
        this.boundary = boundary;
    }

    public String getBoundary() 
    {
        return boundary;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setDevelopDate(Date developDate) 
    {
        this.developDate = developDate;
    }

    public Date getDevelopDate() 
    {
        return developDate;
    }
    public void setDataUrl(String dataUrl) 
    {
        this.dataUrl = dataUrl;
    }

    public String getDataUrl() 
    {
        return dataUrl;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setStandby1(String standby1) 
    {
        this.standby1 = standby1;
    }

    public String getStandby1() 
    {
        return standby1;
    }
    public void setStandby2(String standby2) 
    {
        this.standby2 = standby2;
    }

    public String getStandby2() 
    {
        return standby2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("plantAreaId", getPlantAreaId())
            .append("plantAreaName", getPlantAreaName())
            .append("regionId", getRegionId())
            .append("perimeter", getPerimeter())
            .append("area", getArea())
            .append("cateId", getCateId())
            .append("centeriod", getCenteriod())
            .append("boundary", getBoundary())
            .append("color", getColor())
            .append("developDate", getDevelopDate())
            .append("dataUrl", getDataUrl())
            .append("imageUrl", getImageUrl())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("standby1", getStandby1())
            .append("standby2", getStandby2())
            .toString();
    }
}
